/* ==========================================================
   CHOCO BONTÉ – FIREMNÍ DÁRKY CTA v1
========================================================== */

:root{
    --cbfg-primary:#c70342;
    --cbfg-primary-dark:#9f0035;
    --cbfg-white:#ffffff;
    --cbfg-radius:28px;
}

.cbfg{
    width:100%;
    padding:82px 0 88px;
    background:transparent;
    font-family:Montserrat,Arial,sans-serif;
}

.cbfg__inner{
    width:min(1440px,calc(100% - 96px));
    margin:0 auto;
}

.cbfg__banner{
    position:relative;
    min-height:470px;
    overflow:hidden;
    border-radius:var(--cbfg-radius);
    background:var(--cbfg-primary);
    box-shadow:0 18px 46px rgba(52,26,34,.14);
    isolation:isolate;
}

.cbfg__image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:-3;
    transition:transform .75s cubic-bezier(.22,.61,.36,1);
}

.cbfg__overlay{
    position:absolute;
    inset:0;
    z-index:-2;
    background:
        linear-gradient(
            90deg,
            rgba(199,3,66,.96) 0%,
            rgba(199,3,66,.92) 30%,
            rgba(199,3,66,.72) 56%,
            rgba(199,3,66,.18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 0%,
            rgba(0,0,0,.18) 100%
        );
    transition:background .5s ease;
}

.cbfg__decor,
.cbfg__decor::before,
.cbfg__decor::after{
    position:absolute;
    content:"";
    border-radius:50%;
    pointer-events:none;
}

.cbfg__decor{
    width:420px;
    height:420px;
    left:-210px;
    bottom:-210px;
    border:1px solid rgba(255,255,255,.12);
}

.cbfg__decor::before{
    width:260px;
    height:260px;
    top:-90px;
    right:-120px;
    background:rgba(255,255,255,.035);
}

.cbfg__decor::after{
    width:170px;
    height:170px;
    left:420px;
    top:-250px;
    background:rgba(255,255,255,.04);
}

.cbfg__content{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:470px;
    padding:56px 64px;
    text-align:center;
    color:#fff;
}

.cbfg__content-inner{
    position:relative;
    width:min(820px,100%);
    min-height:220px;
}

.cbfg__initial,
.cbfg__expanded{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    transition:
        opacity .45s ease,
        transform .45s cubic-bezier(.22,.61,.36,1);
}

.cbfg__initial{
    opacity:1;
    transform:translateY(0);
}

.cbfg__expanded{
    opacity:0;
    transform:translateY(24px);
    pointer-events:none;
}

.cbfg__kicker{
    margin:0;
    color:#fff;
    font-size:clamp(22px,2.2vw,34px);
    line-height:1.25;
    font-weight:700;
    letter-spacing:-.02em;
}

.cbfg__hint{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-top:18px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.22);
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:20px;
    transition:transform .35s ease,background .35s ease;
}

.cbfg__eyebrow{
    margin:0 0 14px;
    color:rgba(255,255,255,.88);
    font-size:15px;
    line-height:1.3;
    font-weight:700;
}

.cbfg__title{
    margin:0 0 18px;
    color:#fff;
    font-size:clamp(42px,5vw,72px);
    line-height:1;
    font-weight:800;
    letter-spacing:-.045em;
}

.cbfg__text{
    max-width:720px;
    margin:0 0 28px;
    color:rgba(255,255,255,.92);
    font-size:17px;
    line-height:1.65;
    font-weight:500;
}

.cbfg__cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:50px;
    padding:13px 24px;
    border-radius:999px;
    background:#fff;
    color:var(--cbfg-primary)!important;
    text-decoration:none!important;
    font-size:14px;
    line-height:1;
    font-weight:800;
    box-shadow:0 10px 28px rgba(70,10,32,.18);
    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease,
        box-shadow .22s ease;
}

.cbfg__cta::after{
    content:"→";
    transition:transform .22s ease;
}

.cbfg__cta:hover{
    transform:translateY(-2px);
    background:#f7edf1;
    color:var(--cbfg-primary-dark)!important;
    box-shadow:0 14px 30px rgba(70,10,32,.24);
}

.cbfg__cta:hover::after{
    transform:translateX(4px);
}

.cbfg__banner:hover .cbfg__image{
    transform:scale(1.045);
}

.cbfg__banner:hover .cbfg__overlay{
    background:
        linear-gradient(
            90deg,
            rgba(159,0,53,.97) 0%,
            rgba(159,0,53,.92) 30%,
            rgba(159,0,53,.66) 58%,
            rgba(159,0,53,.12) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 0%,
            rgba(0,0,0,.20) 100%
        );
}

.cbfg__banner:hover .cbfg__initial{
    opacity:0;
    transform:translateY(-22px);
    pointer-events:none;
}

.cbfg__banner:hover .cbfg__expanded{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

.cbfg__banner:hover .cbfg__hint{
    transform:translateY(-3px);
    background:rgba(255,255,255,.14);
}

.cbfg__banner:focus-within .cbfg__initial{
    opacity:0;
    transform:translateY(-22px);
    pointer-events:none;
}

.cbfg__banner:focus-within .cbfg__expanded{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
}

@media(max-width:1100px){
    .cbfg__inner{
        width:calc(100% - 48px);
    }

    .cbfg__banner,
    .cbfg__content{
        min-height:430px;
    }

    .cbfg__content{
        padding:48px 44px;
    }

    .cbfg__content-inner{
        min-height:210px;
    }
}

@media(max-width:699px){
    .cbfg{
        padding:56px 0 62px;
    }

    .cbfg__inner{
        width:calc(100% - 24px);
    }

    .cbfg__banner{
        min-height:560px;
        border-radius:22px;
    }

    .cbfg__image{
        object-position:70% center;
    }

    .cbfg__overlay{
        background:
            linear-gradient(
                180deg,
                rgba(199,3,66,.30) 0%,
                rgba(199,3,66,.58) 36%,
                rgba(159,0,53,.94) 76%,
                rgba(159,0,53,.98) 100%
            );
    }

    .cbfg__content{
        align-items:flex-end;
        min-height:560px;
        padding:30px 22px 34px;
    }

    .cbfg__content-inner{
        min-height:auto;
    }

    .cbfg__initial{
        display:none;
    }

    .cbfg__expanded{
        position:relative;
        inset:auto;
        opacity:1;
        transform:none;
        pointer-events:auto;
    }

    .cbfg__eyebrow{
        margin-bottom:12px;
        font-size:13px;
    }

    .cbfg__title{
        margin-bottom:16px;
        font-size:40px;
    }

    .cbfg__text{
        margin-bottom:24px;
        font-size:14px;
        line-height:1.6;
    }

    .cbfg__cta{
        min-height:46px;
        padding:12px 20px;
        font-size:13px;
    }

    .cbfg__banner:hover .cbfg__image{
        transform:none;
    }
}

@media(prefers-reduced-motion:reduce){
    .cbfg__image,
    .cbfg__overlay,
    .cbfg__initial,
    .cbfg__expanded,
    .cbfg__hint,
    .cbfg__cta{
        transition:none;
    }
}
